var recListCtrl = myApp.controller('recListCtrl', ['$scope', '$rootScope', function($scope, $rootScope) {
	$rootScope.firstType = Tools.permissionList[0].permissionId;
	$rootScope.secondType = Tools.permissionList[0].sonPermission[2].permissionId;
	// 初始化
	function init() {
		$(document).ready(function() {
			// console.log($rootScope.secondType);
		});
	}
	init();
}]);